package com.simon.app.october.common.utils;

/**
 * 系统全局常量
 * @author Simon
 * */
public class Constant {

    /**用户token*/
    public static final String TOKEN = "token";

    /**超级管理员id*/
    public static final Long SUPER_ADMIN = 1L;


    /**菜单类型*/
    public enum MenuType {
        CATALOG(0),

        MENU(1),

        BUTTON(2);

        private int value;

        MenuType(int value) {
            this.value = value;
        }

        public int getValue() {
            return value;
        }
    }

    public enum ScheduleStatus {
        /**
         * 正常
         * */
        NORMAL(0),
        /**
         * 正常
         * */
        PAUSE(1);

        private int value;
        ScheduleStatus(int value) {
            this.value = value;
        }

        public int getValue() {
            return value;
        }
    }
}
